package com.skyline.spot.model;

import java.util.Date;

import com.skyline.base.type.Activity;
import com.skyline.common.util.CommonUtils;

public class SpotCharacteristic {
	private Long id;
	private String portrait;
	private Long spotId;
	private String spotName;
	private String spotPortrait;
	private Long ownerId;
	private String ownerNickname;
	private String ownerPortrait;
	private Long creatorId;
	private String creatorNickname;
	private String creatorPortrait;
	private Long albumId;
	private String characteristicTitle;
	private String characteristicDetail;
	private Integer consume;
	private float star;
	private Integer votes;
	private Date createTime;
	private Date updateTime;

	public Integer getConsume() {
		return consume;
	}

	public void setConsume(Integer consume) {
		this.consume = consume;
	}

	public Long getSpotId() {
		return spotId;
	}

	public void setSpotId(Long spotId) {
		this.spotId = spotId;
	}

	public String getSpotName() {
		return spotName;
	}

	public void setSpotName(String spotName) {
		this.spotName = spotName;
	}

	public String getSpotPortrait() {
		return spotPortrait;
	}

	public void setSpotPortrait(String spotPortrait) {
		this.spotPortrait = spotPortrait;
	}

	public String getOwnerNickname() {
		return ownerNickname;
	}

	public void setOwnerNickname(String ownerNickname) {
		this.ownerNickname = ownerNickname;
	}

	public String getOwnerPortrait() {
		return ownerPortrait;
	}

	public void setOwnerPortrait(String ownerPortrait) {
		this.ownerPortrait = ownerPortrait;
	}

	public String getCreatorPortrait() {
		return creatorPortrait;
	}

	public void setCreatorPortrait(String creatorPortrait) {
		this.creatorPortrait = creatorPortrait;
	}

	public Long getAlbumId() {
		return albumId;
	}

	public void setAlbumId(Long albumId) {
		this.albumId = albumId;
	}

	public float getStar() {
		return star;
	}

	public void setStar(float star) {
		this.star = star;
	}

	public Integer getVotes() {
		return votes;
	}

	public void setVotes(Integer votes) {
		this.votes = votes;
	}

	private Activity activity;// 状态用来判断是否被删除

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPortrait() {
		return portrait;
	}

	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}

	public Long getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}

	public Long getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}

	public String getCreatorNickname() {
		return creatorNickname;
	}

	public void setCreatorNickname(String creatorNickname) {
		this.creatorNickname = creatorNickname;
	}

	public String getCharacteristicTitle() {
		return characteristicTitle;
	}

	public void setCharacteristicTitle(String characteristicTitle) {
		this.characteristicTitle = characteristicTitle;
	}

	public String getCharacteristicDetail() {
		return characteristicDetail;
	}

	public void setCharacteristicDetail(String characteristicDetail) {
		this.characteristicDetail = characteristicDetail;
	}

	public Date getCreateTime() {
		return CommonUtils.cloneDate(createTime);
	}

	public void setCreateTime(Date createTime) {
		this.createTime = CommonUtils.cloneDate(createTime);
	}

	public Date getUpdateTime() {
		return CommonUtils.cloneDate(updateTime);
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = CommonUtils.cloneDate(updateTime);
	}

	public Activity getActivity() {
		return activity;
	}

	public void setActivity(Activity activity) {
		this.activity = activity;
	}

}
